package com.cn.kabalifeuser.ui.service.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/3.
 * function:
 */
public class BannerListBean {


    @Override
    public String toString() {
        return "BannerListBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", result=" + result +
                '}';
    }

    /**
     * code : 200
     * result : [{"id":2,"banner":"http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","type":0,"parameter":""},{"id":1,"banner":"http://oss-fang.xiaoxiucai.xyz/banner/1596698924AYJqEP.png","type":1,"parameter":"8"}]
     * msg : OK
     */

    private int code;
    private String msg;
    private List<ResultBean> result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        @Override
        public String toString() {
            return "ResultBean{" +
                    "id=" + id +
                    ", banner='" + banner + '\'' +
                    ", type=" + type +
                    ", parameter='" + parameter + '\'' +
                    '}';
        }

        /**
         * id : 2
         * banner : http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png
         * type : 0
         * parameter :
         */

        private int id;
        private String banner;
        private int type;
        private String parameter;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getBanner() {
            return banner;
        }

        public void setBanner(String banner) {
            this.banner = banner;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getParameter() {
            return parameter;
        }

        public void setParameter(String parameter) {
            this.parameter = parameter;
        }
    }
}
